import { _decorator, Component, Node } from 'cc';
import { GlobalTmpData } from '../../Init/Config/GlobalTmpData';
const { ccclass, property } = _decorator;

@ccclass('PartyMarkCmp')
export class PartyMarkCmp extends Component {

    onEnable() {
        setTimeout(() => {
            GlobalTmpData.PartyInfo.partyMark.set(this.node.worldPosition);
        }, 0);
    }

}

